home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Games / Hexagonal CA / HexCA.h / AppConstants.h next >
Encoding:
C/C++ Source or Header  |  1997-05-30  |  1.2 KB  |  32 lines  |  [TEXT/CWIE]

  1. #ifndef _AppConstants_
  2. #define _AppConstants_
  3.  
  4. #define kAboutScreenID        129                    // the about screen ID number
  5. #define k8BitColorsID        130
  6. #define kNotEnoughMemoryID    131
  7. #define kSeedRuleID            132
  8.  
  9. #define kClutTableID            128                    // the 'clut' resource ID number
  10.  
  11. #define kAppleMenuID        128                    // menu resource ID
  12. #define iAboutItem            1
  13. #define kFileMenuID            129
  14. #define iQuitItem            1
  15. #define kEditMenuID            130
  16.  
  17. #define kTileColorChar        0x02                // the tile index colour as a char
  18. #define kTileColorShort        0x0202                // the tile index colour as a short
  19. #define kTileColorLong        0x02020202            // the tile index colour as a long
  20. //#define kTileColorDouble    0x0202020202020202    // the tile index colour as a double
  21. #define kTileEndShort        0x0200                // compensate for a slight overlap as a short
  22. #define kTileEndLong            0x02020200            // compensate for a slight overlap as a long
  23. //#define kTileEndDouble        0x0202020202020200    // compensate for a slight overlap as a double
  24.  
  25. #define kHexSize            16                    // the size of a hex + a gap of 1 pixel
  26. #define kHexMidPoint        8                    // the mid-point of a hex
  27. #define kMiniHexSize        8                    // the size of a mini hex + a gap of 1 pixel
  28. #define kMiniHexMidPoint        4                    // the mid-point of a mini hex
  29. #define kTinyHexSize        4
  30. #define kTinyHexMidPoint        2
  31.  
  32. #endif